<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 宝贝嘉燕
  Date: 2021/9/26
  Time: 11:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
int[]arr={10,20,30,40};
pageContext.setAttribute("arr",arr);
%>
<c:forEach  var="num" items="${arr}">
    ${num}

</c:forEach>


<h1>odk</h1>
</body>
</html>
